#ifndef __BaseWidget__H__
#define __BaseWidget__H__

#include <QWidget>

QT_BEGIN_NAMESPACE

QT_END_NAMESPACE
class BaseWidget : public QWidget
{
    Q_OBJECT
public:
    explicit BaseWidget(QWidget *parent=nullptr);

    QSize widgetSize() {
        return this->size;
    }
    void setWidgetSize(const QSize &size) {
        this->size = size;
    }

private:
    QSize size;
};


#endif  //!__BaseWidget__H__